<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SimpleWindow: GridLayout.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SimpleWindow
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('_grid_layout_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">GridLayout.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span> </div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="preprocessor">#include &quot;LayoutHost.h&quot;</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="preprocessor">#include &quot;List.h&quot;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="keyword">namespace </span>sw</div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span>{</div>
<div class="foldopen" id="foldopen00011" data-start="{" data-end="};">
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"><a class="line" href="structsw_1_1_grid_layout_tag.html">   11</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_grid_layout_tag.html">GridLayoutTag</a> {</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"><a class="line" href="structsw_1_1_grid_layout_tag.html#a8411afa319d4ad7cf2d95edd5aa3434c">   15</a></span>        <a class="code hl_class" href="classsw_1_1_dictionary.html">uint16_t</a> <a class="code hl_variable" href="structsw_1_1_grid_layout_tag.html#a8411afa319d4ad7cf2d95edd5aa3434c">row</a>;</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"><a class="line" href="structsw_1_1_grid_layout_tag.html#aa7a46315a36db1adc57e6cd12aa36713">   20</a></span>        <a class="code hl_class" href="classsw_1_1_dictionary.html">uint16_t</a> <a class="code hl_variable" href="structsw_1_1_grid_layout_tag.html#aa7a46315a36db1adc57e6cd12aa36713">column</a>;</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="structsw_1_1_grid_layout_tag.html#a5caf39bc6aa93afd290f09ee15f2c722">   25</a></span>        <a class="code hl_class" href="classsw_1_1_dictionary.html">uint16_t</a> <a class="code hl_variable" href="structsw_1_1_grid_layout_tag.html#a5caf39bc6aa93afd290f09ee15f2c722">rowSpan</a>;</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span> </div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="structsw_1_1_grid_layout_tag.html#ad6949937cb3becc28cee7f7c79604fd8">   30</a></span>        <a class="code hl_class" href="classsw_1_1_dictionary.html">uint16_t</a> <a class="code hl_variable" href="structsw_1_1_grid_layout_tag.html#ad6949937cb3becc28cee7f7c79604fd8">columnSpan</a>;</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="structsw_1_1_grid_layout_tag.html#a15aec68e838c7567c6a371ce735cb534">   35</a></span>        <a class="code hl_function" href="structsw_1_1_grid_layout_tag.html#a15aec68e838c7567c6a371ce735cb534">GridLayoutTag</a>();</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="structsw_1_1_grid_layout_tag.html#afeab1e02be36734f2efb210e0338df63">   40</a></span>        <a class="code hl_function" href="structsw_1_1_grid_layout_tag.html#afeab1e02be36734f2efb210e0338df63">GridLayoutTag</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">uint16_t</a> <a class="code hl_variable" href="structsw_1_1_grid_layout_tag.html#a8411afa319d4ad7cf2d95edd5aa3434c">row</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">uint16_t</a> <a class="code hl_variable" href="structsw_1_1_grid_layout_tag.html#aa7a46315a36db1adc57e6cd12aa36713">column</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">uint16_t</a> <a class="code hl_variable" href="structsw_1_1_grid_layout_tag.html#a5caf39bc6aa93afd290f09ee15f2c722">rowSpan</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">uint16_t</a> <a class="code hl_variable" href="structsw_1_1_grid_layout_tag.html#ad6949937cb3becc28cee7f7c79604fd8">columnSpan</a>);</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span> </div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="structsw_1_1_grid_layout_tag.html#a9a19b89469f829af9559670d6a6f7c00">   45</a></span>        <a class="code hl_function" href="structsw_1_1_grid_layout_tag.html#a9a19b89469f829af9559670d6a6f7c00">GridLayoutTag</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">uint16_t</a> <a class="code hl_variable" href="structsw_1_1_grid_layout_tag.html#a8411afa319d4ad7cf2d95edd5aa3434c">row</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">uint16_t</a> <a class="code hl_variable" href="structsw_1_1_grid_layout_tag.html#aa7a46315a36db1adc57e6cd12aa36713">column</a>);</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span> </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="structsw_1_1_grid_layout_tag.html#af8d1c932b43a046cc10b4a2a6d97dc29">   50</a></span>        <a class="code hl_function" href="structsw_1_1_grid_layout_tag.html#af8d1c932b43a046cc10b4a2a6d97dc29">GridLayoutTag</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">uint64_t</a> layoutTag);</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span> </div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="structsw_1_1_grid_layout_tag.html#ac512b325c8e5a5e5848e01e5c93b0be0">   55</a></span>        <span class="keyword">operator</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">uint64_t</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span>    };</div>
</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span> </div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span>    <span class="keyword">enum class</span> GridRCType {</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span>        FixSize,    <span class="comment">// 固定大小</span></div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span>        AutoSize,   <span class="comment">// 自动大小</span></div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span>        FillRemain, <span class="comment">// 填充剩余空间</span></div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span>    };</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span> </div>
<div class="foldopen" id="foldopen00070" data-start="{" data-end="};">
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"><a class="line" href="structsw_1_1_grid_row.html">   70</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_grid_row.html">GridRow</a> {</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"><a class="line" href="structsw_1_1_grid_row.html#a6d8ada10faf765f507353052361bfacf">   74</a></span>        GridRCType <a class="code hl_variable" href="structsw_1_1_grid_row.html#a6d8ada10faf765f507353052361bfacf">type</a>;</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span> </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"><a class="line" href="structsw_1_1_grid_row.html#abe71efc459295a5dbfad7bf7aaff4d4e">   79</a></span>        <span class="keywordtype">double</span> <a class="code hl_variable" href="structsw_1_1_grid_row.html#abe71efc459295a5dbfad7bf7aaff4d4e">height</a>;</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span> </div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"><a class="line" href="structsw_1_1_grid_row.html#a33599a7582800e97299f2ea8314ed4aa">   84</a></span>        <a class="code hl_function" href="structsw_1_1_grid_row.html#a33599a7582800e97299f2ea8314ed4aa">GridRow</a>();</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span> </div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"><a class="line" href="structsw_1_1_grid_row.html#a2691d3372a7aab997487e9fa3c115914">   89</a></span>        <a class="code hl_function" href="structsw_1_1_grid_row.html#a2691d3372a7aab997487e9fa3c115914">GridRow</a>(GridRCType <a class="code hl_variable" href="structsw_1_1_grid_row.html#a6d8ada10faf765f507353052361bfacf">type</a>, <span class="keywordtype">double</span> <a class="code hl_variable" href="structsw_1_1_grid_row.html#abe71efc459295a5dbfad7bf7aaff4d4e">height</a>);</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span> </div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="structsw_1_1_grid_row.html#a44aaee7c8ea61e9886bab025fcd8271a">   94</a></span>        <a class="code hl_function" href="structsw_1_1_grid_row.html#a44aaee7c8ea61e9886bab025fcd8271a">GridRow</a>(<span class="keywordtype">double</span> <a class="code hl_variable" href="structsw_1_1_grid_row.html#abe71efc459295a5dbfad7bf7aaff4d4e">height</a>);</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span>    };</div>
</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span> </div>
<div class="foldopen" id="foldopen00100" data-start="{" data-end="};">
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"><a class="line" href="structsw_1_1_fix_size_grid_row.html">  100</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_fix_size_grid_row.html">FixSizeGridRow</a> : <span class="keyword">public</span> <a class="code hl_struct" href="structsw_1_1_grid_row.html">GridRow</a> {</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"><a class="line" href="structsw_1_1_fix_size_grid_row.html#a196b15d809057c6fc17943da76edcc06">  104</a></span>        <a class="code hl_function" href="structsw_1_1_fix_size_grid_row.html#a196b15d809057c6fc17943da76edcc06">FixSizeGridRow</a>(<span class="keywordtype">double</span> <a class="code hl_variable" href="structsw_1_1_grid_row.html#abe71efc459295a5dbfad7bf7aaff4d4e">height</a>);</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span>    };</div>
</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span> </div>
<div class="foldopen" id="foldopen00110" data-start="{" data-end="};">
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"><a class="line" href="structsw_1_1_auto_size_grid_row.html">  110</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_auto_size_grid_row.html">AutoSizeGridRow</a> : <span class="keyword">public</span> <a class="code hl_struct" href="structsw_1_1_grid_row.html">GridRow</a> {</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"><a class="line" href="structsw_1_1_auto_size_grid_row.html#a2bdf1d29e1b15c59580fd5592afade9a">  114</a></span>        <a class="code hl_function" href="structsw_1_1_auto_size_grid_row.html#a2bdf1d29e1b15c59580fd5592afade9a">AutoSizeGridRow</a>();</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span>    };</div>
</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span> </div>
<div class="foldopen" id="foldopen00120" data-start="{" data-end="};">
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"><a class="line" href="structsw_1_1_fill_remain_grid_row.html">  120</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_fill_remain_grid_row.html">FillRemainGridRow</a> : <span class="keyword">public</span> <a class="code hl_struct" href="structsw_1_1_grid_row.html">GridRow</a> {</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"><a class="line" href="structsw_1_1_fill_remain_grid_row.html#ae4f6bd7474c82f753a03296a972bd308">  124</a></span>        <a class="code hl_function" href="structsw_1_1_fill_remain_grid_row.html#ae4f6bd7474c82f753a03296a972bd308">FillRemainGridRow</a>(<span class="keywordtype">double</span> proportion = 1);</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span>    };</div>
</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno">  126</span> </div>
<div class="foldopen" id="foldopen00130" data-start="{" data-end="};">
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"><a class="line" href="structsw_1_1_grid_column.html">  130</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_grid_column.html">GridColumn</a> {</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"><a class="line" href="structsw_1_1_grid_column.html#a6291c41939a7abda14003bf799325d1b">  134</a></span>        GridRCType <a class="code hl_variable" href="structsw_1_1_grid_column.html#a6291c41939a7abda14003bf799325d1b">type</a>;</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno">  135</span> </div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"><a class="line" href="structsw_1_1_grid_column.html#aa07dbbfe79ce8c33ebd7bffa430bf6eb">  139</a></span>        <span class="keywordtype">double</span> <a class="code hl_variable" href="structsw_1_1_grid_column.html#aa07dbbfe79ce8c33ebd7bffa430bf6eb">width</a>;</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno">  140</span> </div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"><a class="line" href="structsw_1_1_grid_column.html#a743b954088295855d4f09a81928b6614">  144</a></span>        <a class="code hl_function" href="structsw_1_1_grid_column.html#a743b954088295855d4f09a81928b6614">GridColumn</a>();</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno">  145</span> </div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"><a class="line" href="structsw_1_1_grid_column.html#a6bf1570d3cbc01f9e342a2a55ec14117">  149</a></span>        <a class="code hl_function" href="structsw_1_1_grid_column.html#a6bf1570d3cbc01f9e342a2a55ec14117">GridColumn</a>(GridRCType <a class="code hl_variable" href="structsw_1_1_grid_column.html#a6291c41939a7abda14003bf799325d1b">type</a>, <span class="keywordtype">double</span> <a class="code hl_variable" href="structsw_1_1_grid_column.html#aa07dbbfe79ce8c33ebd7bffa430bf6eb">width</a>);</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno">  150</span> </div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"><a class="line" href="structsw_1_1_grid_column.html#a43365335281efdd5ae44e40d40e6fbe6">  154</a></span>        <a class="code hl_function" href="structsw_1_1_grid_column.html#a43365335281efdd5ae44e40d40e6fbe6">GridColumn</a>(<span class="keywordtype">double</span> <a class="code hl_variable" href="structsw_1_1_grid_column.html#aa07dbbfe79ce8c33ebd7bffa430bf6eb">width</a>);</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno">  155</span>    };</div>
</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno">  156</span> </div>
<div class="foldopen" id="foldopen00160" data-start="{" data-end="};">
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"><a class="line" href="structsw_1_1_fix_size_grid_column.html">  160</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_fix_size_grid_column.html">FixSizeGridColumn</a> : <span class="keyword">public</span> <a class="code hl_struct" href="structsw_1_1_grid_column.html">GridColumn</a> {</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"><a class="line" href="structsw_1_1_fix_size_grid_column.html#a2564cacaada11c191704e59dab7d735b">  164</a></span>        <a class="code hl_function" href="structsw_1_1_fix_size_grid_column.html#a2564cacaada11c191704e59dab7d735b">FixSizeGridColumn</a>(<span class="keywordtype">double</span> <a class="code hl_variable" href="structsw_1_1_grid_column.html#aa07dbbfe79ce8c33ebd7bffa430bf6eb">width</a>);</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno">  165</span>    };</div>
</div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno">  166</span> </div>
<div class="foldopen" id="foldopen00170" data-start="{" data-end="};">
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"><a class="line" href="structsw_1_1_auto_size_grid_column.html">  170</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_auto_size_grid_column.html">AutoSizeGridColumn</a> : <span class="keyword">public</span> <a class="code hl_struct" href="structsw_1_1_grid_column.html">GridColumn</a> {</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"><a class="line" href="structsw_1_1_auto_size_grid_column.html#a6dd90239ba99030b22c7354dd9ef1fc9">  174</a></span>        <a class="code hl_function" href="structsw_1_1_auto_size_grid_column.html#a6dd90239ba99030b22c7354dd9ef1fc9">AutoSizeGridColumn</a>();</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno">  175</span>    };</div>
</div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno">  176</span> </div>
<div class="foldopen" id="foldopen00180" data-start="{" data-end="};">
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"><a class="line" href="structsw_1_1_fill_remain_grid_column.html">  180</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_fill_remain_grid_column.html">FillRemainGridColumn</a> : <span class="keyword">public</span> <a class="code hl_struct" href="structsw_1_1_grid_column.html">GridColumn</a> {</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"><a class="line" href="structsw_1_1_fill_remain_grid_column.html#a0835e5144c6f0246c6d7cf2c8dfd18a1">  184</a></span>        <a class="code hl_function" href="structsw_1_1_fill_remain_grid_column.html#a0835e5144c6f0246c6d7cf2c8dfd18a1">FillRemainGridColumn</a>(<span class="keywordtype">double</span> proportion = 1);</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno">  185</span>    };</div>
</div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno">  186</span> </div>
<div class="foldopen" id="foldopen00190" data-start="{" data-end="};">
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"><a class="line" href="classsw_1_1_grid_layout.html">  190</a></span>    <span class="keyword">class </span><a class="code hl_class" href="classsw_1_1_grid_layout.html">GridLayout</a> : <span class="keyword">public</span> <a class="code hl_class" href="classsw_1_1_layout_host.html">LayoutHost</a></div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno">  191</span>    {</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno">  192</span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno">  196</span>        <span class="keyword">struct </span>_ChildInfo {</div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno">  197</span>            <a class="code hl_class" href="classsw_1_1_i_layout.html">ILayout</a> *instance;         <span class="comment">// 子元素对象</span></div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno">  198</span>            <a class="code hl_struct" href="structsw_1_1_grid_layout_tag.html">GridLayoutTag</a> layoutTag;   <span class="comment">// 布局标记</span></div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno">  199</span>            GridRCType rowMeasureType; <span class="comment">// 元素measure行时的类型</span></div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno">  200</span>            GridRCType colMeasureType; <span class="comment">// 元素measure列时的类型</span></div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno">  201</span>        };</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno">  202</span> </div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno">  206</span>        <span class="keyword">struct </span>_RowInfo {</div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno">  207</span>            <a class="code hl_struct" href="structsw_1_1_grid_row.html">GridRow</a> row;           <span class="comment">// 行</span></div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno">  208</span>            <span class="keywordtype">double</span> size       = 0; <span class="comment">// 所需空间大小</span></div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno">  209</span>            <span class="keywordtype">double</span> proportion = 0; <span class="comment">// 类型为FillRemain时该字段保存该行的高度占比，范围为0~1</span></div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno">  210</span>        };</div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno">  211</span> </div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno">  215</span>        <span class="keyword">struct </span>_ColInfo {</div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno">  216</span>            <a class="code hl_struct" href="structsw_1_1_grid_column.html">GridColumn</a> col;        <span class="comment">// 列</span></div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno">  217</span>            <span class="keywordtype">double</span> size       = 0; <span class="comment">// 所需空间大小</span></div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno">  218</span>            <span class="keywordtype">double</span> proportion = 0; <span class="comment">// 类型为FillRemain时该字段保存该列的宽度占比，范围为0~1</span></div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno">  219</span>        };</div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno">  220</span> </div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno">  224</span>        <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno">  225</span>            std::vector&lt;_RowInfo&gt; rowsInfo;       <span class="comment">// 行信息</span></div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno">  226</span>            std::vector&lt;_ColInfo&gt; colsInfo;       <span class="comment">// 列信息</span></div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno">  227</span>            std::vector&lt;_ChildInfo&gt; childrenInfo; <span class="comment">// 子元素信息</span></div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno">  228</span>            std::vector&lt;Rect&gt; cells;              <span class="comment">// 保存格信息</span></div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno">  229</span>        } _internalData;</div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno">  230</span> </div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno">  231</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"><a class="line" href="classsw_1_1_grid_layout.html#a5ac3f18d6079d89b414a9f0a342670ea">  235</a></span>        <a class="code hl_class" href="classsw_1_1_dictionary.html">List&lt;GridRow&gt;</a> <a class="code hl_variable" href="classsw_1_1_grid_layout.html#a5ac3f18d6079d89b414a9f0a342670ea">rows</a>;</div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno">  236</span> </div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"><a class="line" href="classsw_1_1_grid_layout.html#a31dc19020481d77169ecad187bad886e">  240</a></span>        <a class="code hl_class" href="classsw_1_1_dictionary.html">List&lt;GridColumn&gt;</a> <a class="code hl_variable" href="classsw_1_1_grid_layout.html#a31dc19020481d77169ecad187bad886e">columns</a>;</div>
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno">  241</span> </div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"><a class="line" href="classsw_1_1_grid_layout.html#aac702cbbed9459c559d85c337313d3a9">  245</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_grid_layout.html#aac702cbbed9459c559d85c337313d3a9">MeasureOverride</a>(<a class="code hl_struct" href="structsw_1_1_size.html">Size</a> &amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">availableSize</a>) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno">  246</span> </div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"><a class="line" href="classsw_1_1_grid_layout.html#a77f696d86389ff0360bd65629a5edab4">  250</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_grid_layout.html#a77f696d86389ff0360bd65629a5edab4">ArrangeOverride</a>(<a class="code hl_struct" href="structsw_1_1_size.html">Size</a> &amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">finalSize</a>) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno">  251</span> </div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno">  252</span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno">  256</span>        <span class="keywordtype">void</span> _UpdateInternalData();</div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno">  257</span> </div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno">  261</span>        <a class="code hl_struct" href="structsw_1_1_rect.html">Rect</a> &amp;_GetCell(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col);</div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno">  262</span>    };</div>
</div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno">  263</span>}</div>
<div class="ttc" id="aclasssw_1_1_dictionary_html"><div class="ttname"><a href="classsw_1_1_dictionary.html">sw::Dictionary</a></div><div class="ttdoc">字典类，内部维护了一个指向std::map的智能指针</div><div class="ttdef"><b>Definition</b> Dictionary.h:24</div></div>
<div class="ttc" id="aclasssw_1_1_grid_layout_html"><div class="ttname"><a href="classsw_1_1_grid_layout.html">sw::GridLayout</a></div><div class="ttdoc">网格布局方式</div><div class="ttdef"><b>Definition</b> GridLayout.h:191</div></div>
<div class="ttc" id="aclasssw_1_1_grid_layout_html_a31dc19020481d77169ecad187bad886e"><div class="ttname"><a href="classsw_1_1_grid_layout.html#a31dc19020481d77169ecad187bad886e">sw::GridLayout::columns</a></div><div class="ttdeci">List&lt; GridColumn &gt; columns</div><div class="ttdoc">列定义</div><div class="ttdef"><b>Definition</b> GridLayout.h:240</div></div>
<div class="ttc" id="aclasssw_1_1_grid_layout_html_a5ac3f18d6079d89b414a9f0a342670ea"><div class="ttname"><a href="classsw_1_1_grid_layout.html#a5ac3f18d6079d89b414a9f0a342670ea">sw::GridLayout::rows</a></div><div class="ttdeci">List&lt; GridRow &gt; rows</div><div class="ttdoc">行定义</div><div class="ttdef"><b>Definition</b> GridLayout.h:235</div></div>
<div class="ttc" id="aclasssw_1_1_grid_layout_html_a77f696d86389ff0360bd65629a5edab4"><div class="ttname"><a href="classsw_1_1_grid_layout.html#a77f696d86389ff0360bd65629a5edab4">sw::GridLayout::ArrangeOverride</a></div><div class="ttdeci">virtual void ArrangeOverride(Size &amp;finalSize) override</div><div class="ttdoc">安排控件</div></div>
<div class="ttc" id="aclasssw_1_1_grid_layout_html_aac702cbbed9459c559d85c337313d3a9"><div class="ttname"><a href="classsw_1_1_grid_layout.html#aac702cbbed9459c559d85c337313d3a9">sw::GridLayout::MeasureOverride</a></div><div class="ttdeci">virtual void MeasureOverride(Size &amp;availableSize) override</div><div class="ttdoc">计算所需尺寸</div></div>
<div class="ttc" id="aclasssw_1_1_i_layout_html"><div class="ttname"><a href="classsw_1_1_i_layout.html">sw::ILayout</a></div><div class="ttdoc">布局接口</div><div class="ttdef"><b>Definition</b> ILayout.h:13</div></div>
<div class="ttc" id="aclasssw_1_1_layout_host_html"><div class="ttname"><a href="classsw_1_1_layout_host.html">sw::LayoutHost</a></div><div class="ttdoc">用于托管元素的布局方式的对象类型，是所有布局方式类型的基类</div><div class="ttdef"><b>Definition</b> LayoutHost.h:11</div></div>
<div class="ttc" id="astructsw_1_1_auto_size_grid_column_html"><div class="ttname"><a href="structsw_1_1_auto_size_grid_column.html">sw::AutoSizeGridColumn</a></div><div class="ttdoc">自动宽度的列</div><div class="ttdef"><b>Definition</b> GridLayout.h:170</div></div>
<div class="ttc" id="astructsw_1_1_auto_size_grid_column_html_a6dd90239ba99030b22c7354dd9ef1fc9"><div class="ttname"><a href="structsw_1_1_auto_size_grid_column.html#a6dd90239ba99030b22c7354dd9ef1fc9">sw::AutoSizeGridColumn::AutoSizeGridColumn</a></div><div class="ttdeci">AutoSizeGridColumn()</div><div class="ttdoc">初始化AutoSizeGridColumn</div></div>
<div class="ttc" id="astructsw_1_1_auto_size_grid_row_html"><div class="ttname"><a href="structsw_1_1_auto_size_grid_row.html">sw::AutoSizeGridRow</a></div><div class="ttdoc">自动高度的行</div><div class="ttdef"><b>Definition</b> GridLayout.h:110</div></div>
<div class="ttc" id="astructsw_1_1_auto_size_grid_row_html_a2bdf1d29e1b15c59580fd5592afade9a"><div class="ttname"><a href="structsw_1_1_auto_size_grid_row.html#a2bdf1d29e1b15c59580fd5592afade9a">sw::AutoSizeGridRow::AutoSizeGridRow</a></div><div class="ttdeci">AutoSizeGridRow()</div><div class="ttdoc">初始化AutoSizeGridRow</div></div>
<div class="ttc" id="astructsw_1_1_fill_remain_grid_column_html"><div class="ttname"><a href="structsw_1_1_fill_remain_grid_column.html">sw::FillRemainGridColumn</a></div><div class="ttdoc">填充剩余宽度的列</div><div class="ttdef"><b>Definition</b> GridLayout.h:180</div></div>
<div class="ttc" id="astructsw_1_1_fill_remain_grid_column_html_a0835e5144c6f0246c6d7cf2c8dfd18a1"><div class="ttname"><a href="structsw_1_1_fill_remain_grid_column.html#a0835e5144c6f0246c6d7cf2c8dfd18a1">sw::FillRemainGridColumn::FillRemainGridColumn</a></div><div class="ttdeci">FillRemainGridColumn(double proportion=1)</div><div class="ttdoc">初始化FillRemainGridColumn</div></div>
<div class="ttc" id="astructsw_1_1_fill_remain_grid_row_html"><div class="ttname"><a href="structsw_1_1_fill_remain_grid_row.html">sw::FillRemainGridRow</a></div><div class="ttdoc">填充剩余高度的行</div><div class="ttdef"><b>Definition</b> GridLayout.h:120</div></div>
<div class="ttc" id="astructsw_1_1_fill_remain_grid_row_html_ae4f6bd7474c82f753a03296a972bd308"><div class="ttname"><a href="structsw_1_1_fill_remain_grid_row.html#ae4f6bd7474c82f753a03296a972bd308">sw::FillRemainGridRow::FillRemainGridRow</a></div><div class="ttdeci">FillRemainGridRow(double proportion=1)</div><div class="ttdoc">初始化FillRemainGridRow</div></div>
<div class="ttc" id="astructsw_1_1_fix_size_grid_column_html"><div class="ttname"><a href="structsw_1_1_fix_size_grid_column.html">sw::FixSizeGridColumn</a></div><div class="ttdoc">固定宽度的列</div><div class="ttdef"><b>Definition</b> GridLayout.h:160</div></div>
<div class="ttc" id="astructsw_1_1_fix_size_grid_column_html_a2564cacaada11c191704e59dab7d735b"><div class="ttname"><a href="structsw_1_1_fix_size_grid_column.html#a2564cacaada11c191704e59dab7d735b">sw::FixSizeGridColumn::FixSizeGridColumn</a></div><div class="ttdeci">FixSizeGridColumn(double width)</div><div class="ttdoc">初始化FixSizeGridColumn</div></div>
<div class="ttc" id="astructsw_1_1_fix_size_grid_row_html"><div class="ttname"><a href="structsw_1_1_fix_size_grid_row.html">sw::FixSizeGridRow</a></div><div class="ttdoc">固定高度的行</div><div class="ttdef"><b>Definition</b> GridLayout.h:100</div></div>
<div class="ttc" id="astructsw_1_1_fix_size_grid_row_html_a196b15d809057c6fc17943da76edcc06"><div class="ttname"><a href="structsw_1_1_fix_size_grid_row.html#a196b15d809057c6fc17943da76edcc06">sw::FixSizeGridRow::FixSizeGridRow</a></div><div class="ttdeci">FixSizeGridRow(double height)</div><div class="ttdoc">初始化FixSizeGridRow</div></div>
<div class="ttc" id="astructsw_1_1_grid_column_html"><div class="ttname"><a href="structsw_1_1_grid_column.html">sw::GridColumn</a></div><div class="ttdoc">网格中的列信息</div><div class="ttdef"><b>Definition</b> GridLayout.h:130</div></div>
<div class="ttc" id="astructsw_1_1_grid_column_html_a43365335281efdd5ae44e40d40e6fbe6"><div class="ttname"><a href="structsw_1_1_grid_column.html#a43365335281efdd5ae44e40d40e6fbe6">sw::GridColumn::GridColumn</a></div><div class="ttdeci">GridColumn(double width)</div><div class="ttdoc">固定大小的列</div></div>
<div class="ttc" id="astructsw_1_1_grid_column_html_a6291c41939a7abda14003bf799325d1b"><div class="ttname"><a href="structsw_1_1_grid_column.html#a6291c41939a7abda14003bf799325d1b">sw::GridColumn::type</a></div><div class="ttdeci">GridRCType type</div><div class="ttdoc">类型</div><div class="ttdef"><b>Definition</b> GridLayout.h:134</div></div>
<div class="ttc" id="astructsw_1_1_grid_column_html_a6bf1570d3cbc01f9e342a2a55ec14117"><div class="ttname"><a href="structsw_1_1_grid_column.html#a6bf1570d3cbc01f9e342a2a55ec14117">sw::GridColumn::GridColumn</a></div><div class="ttdeci">GridColumn(GridRCType type, double width)</div><div class="ttdoc">初始化GridColumn</div></div>
<div class="ttc" id="astructsw_1_1_grid_column_html_a743b954088295855d4f09a81928b6614"><div class="ttname"><a href="structsw_1_1_grid_column.html#a743b954088295855d4f09a81928b6614">sw::GridColumn::GridColumn</a></div><div class="ttdeci">GridColumn()</div><div class="ttdoc">创建一个FillRemain的GridColumn</div></div>
<div class="ttc" id="astructsw_1_1_grid_column_html_aa07dbbfe79ce8c33ebd7bffa430bf6eb"><div class="ttname"><a href="structsw_1_1_grid_column.html#aa07dbbfe79ce8c33ebd7bffa430bf6eb">sw::GridColumn::width</a></div><div class="ttdeci">double width</div><div class="ttdoc">宽度</div><div class="ttdef"><b>Definition</b> GridLayout.h:139</div></div>
<div class="ttc" id="astructsw_1_1_grid_layout_tag_html"><div class="ttname"><a href="structsw_1_1_grid_layout_tag.html">sw::GridLayoutTag</a></div><div class="ttdoc">网格布局方式的布局标记</div><div class="ttdef"><b>Definition</b> GridLayout.h:11</div></div>
<div class="ttc" id="astructsw_1_1_grid_layout_tag_html_a15aec68e838c7567c6a371ce735cb534"><div class="ttname"><a href="structsw_1_1_grid_layout_tag.html#a15aec68e838c7567c6a371ce735cb534">sw::GridLayoutTag::GridLayoutTag</a></div><div class="ttdeci">GridLayoutTag()</div><div class="ttdoc">GridLayoutTag默认值</div></div>
<div class="ttc" id="astructsw_1_1_grid_layout_tag_html_a5caf39bc6aa93afd290f09ee15f2c722"><div class="ttname"><a href="structsw_1_1_grid_layout_tag.html#a5caf39bc6aa93afd290f09ee15f2c722">sw::GridLayoutTag::rowSpan</a></div><div class="ttdeci">uint16_t rowSpan</div><div class="ttdoc">所跨行数</div><div class="ttdef"><b>Definition</b> GridLayout.h:25</div></div>
<div class="ttc" id="astructsw_1_1_grid_layout_tag_html_a8411afa319d4ad7cf2d95edd5aa3434c"><div class="ttname"><a href="structsw_1_1_grid_layout_tag.html#a8411afa319d4ad7cf2d95edd5aa3434c">sw::GridLayoutTag::row</a></div><div class="ttdeci">uint16_t row</div><div class="ttdoc">所在行</div><div class="ttdef"><b>Definition</b> GridLayout.h:15</div></div>
<div class="ttc" id="astructsw_1_1_grid_layout_tag_html_a9a19b89469f829af9559670d6a6f7c00"><div class="ttname"><a href="structsw_1_1_grid_layout_tag.html#a9a19b89469f829af9559670d6a6f7c00">sw::GridLayoutTag::GridLayoutTag</a></div><div class="ttdeci">GridLayoutTag(uint16_t row, uint16_t column)</div><div class="ttdoc">初始化GridLayoutTag</div></div>
<div class="ttc" id="astructsw_1_1_grid_layout_tag_html_aa7a46315a36db1adc57e6cd12aa36713"><div class="ttname"><a href="structsw_1_1_grid_layout_tag.html#aa7a46315a36db1adc57e6cd12aa36713">sw::GridLayoutTag::column</a></div><div class="ttdeci">uint16_t column</div><div class="ttdoc">所在列</div><div class="ttdef"><b>Definition</b> GridLayout.h:20</div></div>
<div class="ttc" id="astructsw_1_1_grid_layout_tag_html_ad6949937cb3becc28cee7f7c79604fd8"><div class="ttname"><a href="structsw_1_1_grid_layout_tag.html#ad6949937cb3becc28cee7f7c79604fd8">sw::GridLayoutTag::columnSpan</a></div><div class="ttdeci">uint16_t columnSpan</div><div class="ttdoc">所跨列数</div><div class="ttdef"><b>Definition</b> GridLayout.h:30</div></div>
<div class="ttc" id="astructsw_1_1_grid_layout_tag_html_af8d1c932b43a046cc10b4a2a6d97dc29"><div class="ttname"><a href="structsw_1_1_grid_layout_tag.html#af8d1c932b43a046cc10b4a2a6d97dc29">sw::GridLayoutTag::GridLayoutTag</a></div><div class="ttdeci">GridLayoutTag(uint64_t layoutTag)</div><div class="ttdoc">从LayoutTag创建</div></div>
<div class="ttc" id="astructsw_1_1_grid_layout_tag_html_afeab1e02be36734f2efb210e0338df63"><div class="ttname"><a href="structsw_1_1_grid_layout_tag.html#afeab1e02be36734f2efb210e0338df63">sw::GridLayoutTag::GridLayoutTag</a></div><div class="ttdeci">GridLayoutTag(uint16_t row, uint16_t column, uint16_t rowSpan, uint16_t columnSpan)</div><div class="ttdoc">初始化GridLayoutTag</div></div>
<div class="ttc" id="astructsw_1_1_grid_row_html"><div class="ttname"><a href="structsw_1_1_grid_row.html">sw::GridRow</a></div><div class="ttdoc">网格中的行信息</div><div class="ttdef"><b>Definition</b> GridLayout.h:70</div></div>
<div class="ttc" id="astructsw_1_1_grid_row_html_a2691d3372a7aab997487e9fa3c115914"><div class="ttname"><a href="structsw_1_1_grid_row.html#a2691d3372a7aab997487e9fa3c115914">sw::GridRow::GridRow</a></div><div class="ttdeci">GridRow(GridRCType type, double height)</div><div class="ttdoc">初始化GridRow</div></div>
<div class="ttc" id="astructsw_1_1_grid_row_html_a33599a7582800e97299f2ea8314ed4aa"><div class="ttname"><a href="structsw_1_1_grid_row.html#a33599a7582800e97299f2ea8314ed4aa">sw::GridRow::GridRow</a></div><div class="ttdeci">GridRow()</div><div class="ttdoc">创建一个FillRemain的GridRow</div></div>
<div class="ttc" id="astructsw_1_1_grid_row_html_a44aaee7c8ea61e9886bab025fcd8271a"><div class="ttname"><a href="structsw_1_1_grid_row.html#a44aaee7c8ea61e9886bab025fcd8271a">sw::GridRow::GridRow</a></div><div class="ttdeci">GridRow(double height)</div><div class="ttdoc">固定大小的行</div></div>
<div class="ttc" id="astructsw_1_1_grid_row_html_a6d8ada10faf765f507353052361bfacf"><div class="ttname"><a href="structsw_1_1_grid_row.html#a6d8ada10faf765f507353052361bfacf">sw::GridRow::type</a></div><div class="ttdeci">GridRCType type</div><div class="ttdoc">类型</div><div class="ttdef"><b>Definition</b> GridLayout.h:74</div></div>
<div class="ttc" id="astructsw_1_1_grid_row_html_abe71efc459295a5dbfad7bf7aaff4d4e"><div class="ttname"><a href="structsw_1_1_grid_row.html#abe71efc459295a5dbfad7bf7aaff4d4e">sw::GridRow::height</a></div><div class="ttdeci">double height</div><div class="ttdoc">高度</div><div class="ttdef"><b>Definition</b> GridLayout.h:79</div></div>
<div class="ttc" id="astructsw_1_1_rect_html"><div class="ttname"><a href="structsw_1_1_rect.html">sw::Rect</a></div><div class="ttdoc">表示一个矩形区域</div><div class="ttdef"><b>Definition</b> Rect.h:13</div></div>
<div class="ttc" id="astructsw_1_1_size_html"><div class="ttname"><a href="structsw_1_1_size.html">sw::Size</a></div><div class="ttdoc">尺寸</div><div class="ttdef"><b>Definition</b> Size.h:11</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_01fcd3835fb4e7d9331b722d86291b65.html">sw</a></li><li class="navelem"><a class="el" href="dir_ed5f6ece24ffcc4307a76d27c2494db3.html">inc</a></li><li class="navelem"><b>GridLayout.h</b></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0 </li>
  </ul>
</div>
</body>
</html>
